﻿using Minotaur.App.Modules.SystemControl.ViewModels;
using System.Windows.Controls;

namespace Minotaur.App.Modules.SystemControl.Views
{
    /// <summary>
    /// Interaction logic for Pagination
    /// </summary>
    public partial class Pagination : UserControl
    {
        public PaginationViewModel ViewModel { get; set; }
        public Pagination()
        {
            ViewModel=new PaginationViewModel();
            InitializeComponent();
            this.DataContext = ViewModel;
            ViewModel.UserControl = this;
        }

        private void UserControl_Loaded(object sender, System.Windows.RoutedEventArgs e)
        { 
        }

        private void ComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            ViewModel.ConfigPageAction();
        }
    }
}
